<?php

class IndexController extends BackendController
{
	public function actionIndex()
	{
        foreach(parent::$dashboardIconsArray as $array){
            $array['class']=' class="dashboard-module"';
            $array['link']=Yii::app()->createAbsoluteUrl($array['link']);
            $array['img']=Yii::app()->theme->baseUrl.$array['img'];
            $this->dashboardIcons[]=(object)$array;
        }

		$this->render('index',array(
            'role'=>Yii::app()->user->role,
        ));
	}
}